package com.chefu.auth.service;

import com.chefu.common.utils.auth.UserInfo;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Service
public interface AuthService {

     void loginSystem(String username, String password, HttpServletRequest request, HttpServletResponse response);

    UserInfo verify(HttpServletRequest request, HttpServletResponse response);

    void logout(HttpServletRequest request, HttpServletResponse response);

}
